function checkInput() {
    iname = document.additem.txtItemName;
    iprice = document.additem.txtItemPrice;
    icountry = document.additem.txtItemCountry;
    idate = document.additem.txtDate;
    if (iname.value == "") {
        document.additem.txtItemName.focus();
        alert('Please fill name of item!');
        return false;
    }
    else if(iprice.value =="") {
        document.additem.txtItemPrice.focus();
        alert('Please fill prize of item!');
        return false;
    }
    else if(icountry.value =="") {
        document.additem.txtItemCountry.focus();
        alert('Please fill country of item!');
        return false;
    }
    else if(idate.value =="") {
        document.additem.txtDate.focus();
        alert('Please fill date of item!');
        return false;
    }
    else return true;
}